﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_ExpenseApprovalControl.ascx.cs" Inherits="xManagerWebApp.__Membership.UC_ExpenseApprovalControl" %>
<%@ Register src="../ControlExpenseLine.ascx" tagname="ControlExpenseLine" tagprefix="uc1" %>
<fieldset>
<legend>Expense submitted by <asp:Label ID="lb_creator" runat="server" Text=""/> </legend>
<uc1:ControlExpenseLine ID="expense_line" runat="server" ReadOnly="true"/>
</fieldset>
<fieldset>
<legend>Options for approval</legend>
<asp:Label runat="server" id="status" Text=""></asp:Label>
<asp:Button ID="reject" ValidationGroup="repr" runat="server" Text="Reject" onclick="reject_Click" CssClass="button fright" />
<asp:Button ID="approve" runat="server" Text="Approve" onclick="approve_Click" CssClass="button fright" />
<p>
<label id="just" runat="server">Justification</label>
<asp:TextBox ID="TextBox1" runat="server" Height="93px" Width="300px" TextMode="MultiLine" CssClass="text_box"></asp:TextBox>
<asp:RequiredFieldValidator ID="val" ControlToValidate="TextBox1" runat="server" ValidationGroup="repr" Text="Justification is required for reject"/>
</p>
</fieldset>